package me.cloudcat.develop.entity.configuration;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
import javax.persistence.Version;

import me.cloudcat.develop.entity.BaseEntity;

@Entity
@Table(name = "tbl_group")
//@SequenceGenerator(name="SEQ_STORE", sequenceName="TBL_GROUP_ID_ASQ", allocationSize=1)
public class Group extends BaseEntity<Group> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5088171900646948819L;
	
	@Version
	public int version;
	
	public String name;
	
	public String type;

	public int getVersion() {
		return version;
	}

	public void setVersion(int version) {
		this.version = version;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}
}
